package com.ren.weibo.mapper;


import com.ren.weibo.pojo.entity.User;
import com.ren.weibo.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    int selectByUsername(String username);

    void add(User user);

    UserVO selectByUsernameAndPassword(@Param("username") String username, @Param("password") String password);
}
